// Creation History: 
//---------------------------------------------
// COMPANY : HTHK
// BY      : Zhiguo Yang
// Date    : 30/03/2005
// CRLOG   : P999
//---------------------------------------------
//
/*
 * Created on 2005-1-1
 * 
 * $Id: JobInfo.java,v 1.1.1.1 2013/08/16 05:35:48 tengyang Exp $
 * $Log: JobInfo.java,v $
 * Revision 1.1.1.1  2013/08/16 05:35:48  tengyang
 * no message
 *
 * Revision 1.3  2005/03/31 02:53:43  zhyan
 * Change the file header
 *
 * Revision 1.2  2005/03/30 13:30:30  zhyan
 * Add the file header
 *
 * Revision 1.1  2005/03/28 08:05:50  zhyan
 * Add common Job scheduler
 *
 * Revision 1.1  2005/01/03 07:26:51  zhyan
 * Add the job information beans
 *
 * 
 * Copyright Global Delivery China Center
 * Hewlett Packard Crop. 2005 All Rights Reserved
 */
package com.hp.gdcc.webframe.scheduler;

import java.util.Vector;

/**
 * This is a java bean for the Job inforamtions, including
 * job name, group name, job class name, cron expression.
 * job detail mapping information.
 * @author <a href="mailto:zhi-guo.yang@hp.com">Zhiguo Yang</a>
 * <p>
 * CopyRight HP GDCC 2004
 * </p>
 */
public class JobInfo {
  private String jobName;
  private String groupName;
  private String jobClassName;
  private String cronExp;
  /**
   * @return Returns the cronExp.
   */
  public String getCronExp() {
    return cronExp;
  }
  /**
   * @param cronExp The cronExp to set.
   */
  public void setCronExp(String cronExp) {
    this.cronExp = cronExp;
  }
  /**
   * @return Returns the jobParams.
   */
  public Vector getJobParams() {
    return jobParams;
  }
  /**
   * @param jobParams The jobParams to set.
   */
  public void setJobParams(Vector jobParams) {
    this.jobParams = jobParams;
  }
  private Vector jobParams = new Vector();
  
  
  /**
   * 
   * @return Returns the groupName.
   */
  public String getGroupName() {
    
    return groupName;
  }
  
  /**
   * 
   * @param groupName The groupName to set.
   */
  public void setGroupName(String groupName) {
    this.groupName = groupName;
  }
  
  
  /**
   * @return Returns the jobName.
   */
  public String getJobName() {
    return jobName;
  }
  
  /**
   * @param jobName The jobName to set.
   */
  public void setJobName(String jobName) {
    this.jobName = jobName;
  }
  
  public void addParam(JobParam param){
    this.jobParams.add(param);
  }
  /**
   * @return Returns the jobClassName.
   */
  public String getJobClassName() {
    return jobClassName;
  }
  /**
   * @param jobClassName The jobClassName to set.
   */
  public void setJobClassName(String jobClassName) {
    this.jobClassName = jobClassName;
  }
}
